; Inno Setup Script Example
[Setup]
AppName=Multipart Transfer
AppVersion=1.0.4
ArchitecturesAllowed=x64compatible
ArchitecturesInstallIn64BitMode=x64compatible
DefaultDirName={commonpf64}\MultipartTransfer
DefaultGroupName=Multipart Transfer
OutputBaseFilename=MultipartTransferSetup
Compression=lzma
SolidCompression=yes
ChangesEnvironment=yes


[Files]
; 把二进制复制到安装目录
Source: "multipart-transfer.exe"; DestDir: "{app}"; Flags: ignoreversion

[Registry]
; 把安装目录加入系统 PATH（当前用户）
Root: HKCU; Subkey: "Environment"; ValueType: expandsz; ValueName: "Path"; ValueData: "{olddata};{app}"; Flags: preservestringtype
